package com.sunlong.jiangwei.dao;

import com.sunlong.jiangwei.entity.JwOrder;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import tk.mybatis.mapper.common.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 孙龙
 * @since 2021-02-19
 */
public interface JwOrderMapper extends Mapper<JwOrder> {

    @Update("update jw_order set status = #{status} where order_id = #{orderId}")
    void updateById(@Param("orderId") Long orderId, @Param("status") Integer status);
}
